package com.anjie.powerproject.map;

import com.anjie.powerproject.entity.Device;
import com.anjie.powerproject.pojo.dto.DeviceDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;

import java.util.List;

public interface DeviceMap {
    DeviceDTO toDTO(Device device);

    List<DeviceDTO> toDTO(List<Device> devices);
}
